package com.github.catvod.spider;

import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0008;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.fP;
import java.util.HashMap;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class SP360 extends Spider {

    /* renamed from: short, reason: not valid java name */
    private static final short[] f48short = {1021, 1016, 993, 998, 1006, 999, 2974, 2949, 2974, 2955, 2950, 2968, 2948, 2948, 2944, 2947, 3018, 3039, 3039, 2961, 2944, 2969, 3038, 2951, 2965, 2962, 3038, 3011, 3014, 3008, 2971, 2961, 2974, 3038, 2963, 2975, 2973, 3039, 2950, 3009, 3039, 2966, 2969, 2972, 2948, 2965, 2946, 3039, 2972, 2969, 2947, 2948, 3023, 2963, 2961, 2948, 2969, 2964, 3021, 1699, 1781, 1764, 1762, 1760, 1771, 1770, 1720, 3060, 2261, 955, 958, 939, 958, 488, 490, 499, 492, 480, 502, 1601, 1613, 1620, 1607, 1616, 1924, 1949, 1942, 1965, 1920, 1943, 1951, 1939, 1920, 1945, 1921, 1665, 1693, 1693, 1689, 1690, 1747, 1400, 1377, 1386, 1361, 1406, 1383, 1389, 1612, 1617, 1612, 1620, 1629, 1107, 1098, 1089, 1146, 1099, 1092, 1096, 1088, 1428, 1433, 2063, 889, 864, 875, 848, 870, 875, 955, 941, 938, 938, 957, 950, 940, 903, 936, 953, 959, 957, 2775, 2758, 2752, 2754, 1039, 1054, 1048, 1050, 1052, 1040, 1034, 1041, 1035, 2129, 2132, 2128, 2132, 2121, 700, 697, 675, 676, 2324, 2312, 2312, 2316, 2319, 2374, 2387, 2387, 2333, 2316, 2325, 2386, 2315, 2329, 2334, 2386, 2383, 2378, 2380, 2327, 2333, 2322, 2386, 2335, 2323, 2321, 2387, 2314, 2381, 2387, 2328, 2329, 2312, 2333, 2325, 2320, 2615, 2451, 2462, 2462, 2455, 2434, 2459, 2454, 2455, 2438, 2451, 2459, 2462, 3263, 3263, 3263, 2239, 2234, 2223, 2234, 2359, 3044, 2994, 3070, 2978, 2976, 2997, 3068, 3044, 2994, 3047, 2984, 2981, 3068, 3044, 2994, 1509, 1504, 1530, 1533, 2650, 2627, 2632, 2675, 2629, 2632, 2689, 2698, 2704, 2747, 2701, 2688, 2524, 2501, 2510, 2549, 2500, 2507, 2503, 2511, 2481, 2476, 2481, 2473, 2464, 2855, 2878, 2869, 2830, 2849, 2872, 2866, 1755, 1756, 1750, 1755, 1751, 1742, 1757, 1738, 1974, 1972, 1965, 1970, 1982, 1976, 1978, 1967, 1982, 1980, 1972, 1961, 1954, 2461, 2448, 2457, 2444, 2486, 2439, 2440, 2436, 2444, 2279, 2302, 2293, 2254, 2280, 2292, 2288, 2275, 881, 884, 867, 869, 864, 885, 868, 2205, 2190, 2201, 2205, 2480, 2473, 2466, 2457, 2471, 2484, 2467, 2471, 3111, 3134, 3125, 3086, 3107, 3124, 3132, 3120, 3107, 3130, 3106, 854, 861, 839, 848, 851, 860, 833, 849, 861, 832, 855, 2406, 2404, 2419, 2408, 2421, 2805, 2796, 2791, 2780, 2786, 2784, 2807, 2796, 2801, 1259, 1254, 1277, 1258, 1260, 1275, 1248, 1277, 2861, 2868, 2879, 2820, 2879, 2866, 2857, 2878, 2872, 2863, 2868, 2857, 2027, 2034, 2041, 1986, 2046, 2034, 2035, 2025, 2040, 2035, 2025, 2971, 2970, 2956, 2972, 2957, 2966, 2959, 2955, 2966, 2960, 2961, 2188, 2192, 2205, 2181, 2192, 2197, 2194, 2199, 2211, 2191, 2197, 2184, 2201, 2191, 1180, 1157, 1166, 1205, 1178, 1158, 1163, 1171, 1205, 1164, 1176, 1157, 1159, 2703, 2707, 2718, 2694, 2707, 2710, 2705, 2708, 2700, 2715, 2714, 2699, 2718, 2710, 2707, 2856, 2857, 2858, 2861, 2873, 2848, 2872, 2857, 2876, 2853, 2879, 2851, 2856, 2857, 1748, 1753, 1753, 1728, 1733, 1756, 1755, 1747, 1754, 1191, 1214, 1205, 1166, 1185, 1213, 1200, 1192, 1166, 1188, 1187, 1213, 1289, 1308, 1308, 1978, 1958, 1979, 1981, 1515, 922, 925, 899, 2501, 756, 757, 758, 753, 741, 764, 740, 719, 741, 738, 764, 2649, 1858, 1815, 1808, 1797, 1814, 1808, 1881, 1877, 1858, 1793, 1802, 1792, 1881, 724, 641, 667, 646, 663, 719, 1450, 1535, 1528, 1517, 1534, 1528, 1457, 1469, 1450, 1513, 1506, 1512, 1457, 1465, 1468, 1450, 1535, 1509, 1528, 1513, 1457, 1882, 1862, 1867, 1875, 1862, 1859, 1860, 1857, 1909, 1860, 1887, 1863, 1469, 1515, 1447, 1531, 1529, 1516, 1445, 1469, 1515, 1470, 1521, 1532, 1445, 1469, 1515, 1470, 1515, 1516, 1529, 1514, 1516, 1445, 1469, 1515, 1470, 1533, 1526, 1532, 1445, 1469, 1515, 1470, 1515, 1521, 1516, 1533, 1445, 1469, 1515, 1190, 1152, 1174, 1153, 1246, 1202, 1172, 1174, 1181, 1159, 299, 265, 284, 271, 266, 266, 263, 329, 339, 328, 342, 326, 334, 299, 263, 261, 271, 264, 274, 265, 277, 270, 349, 326, 303, 264, 274, 259, 266, 326, 299, 263, 261, 326, 297, 309, 326, 318, 326, 343, 342, 313, 343, 339, 313, 337, 335, 326, 295, 278, 278, 266, 259, 305, 259, 260, 301, 271, 274, 329, 339, 341, 337, 328, 341, 336, 326, 334, 301, 302, 306, 299, 298, 330, 326, 266, 271, 269, 259, 326, 289, 259, 261, 269, 265, 335, 326, 293, 270, 276, 265, 267, 259, 329, 351, 343, 328, 342, 328, 338, 338, 337, 340, 328, 343, 343, 338, 326, 309, 263, 256, 263, 276, 271, 329, 339, 341, 337, 328, 341, 336, 2823, 2864, 2867, 2864, 2855, 2864, 2855, 1567, 1539, 1539, 1543, 1540, 1613, 1624, 1624, 1536, 1536, 1536, 1625, 1604, 1601, 1607, 1564, 1558, 1561, 1625, 1556, 1560, 1562, 1624, 2850, 2861, 2848, 2866, 2866, 264, 263, 266, 280, 280, 270, 280, 682, 677, 672, 696, 681, 702, 703, 1774, 1761, 1764, 1788, 1773, 1786, 3291, 3271, 3271, 3267, 3264, 3209, 3228, 3228, 3282, 3267, 3290, 3229, 3268, 3286, 3281, 3229, 3200, 3205, 3203, 3288, 3282, 3293, 3229, 3280, 3292, 3294, 3228, 3269, 3202, 3228, 3265, 3282, 3293, 3288, 3212, 3280, 3282, 3271, 3214, 3202, 21358, 22839, -29612, 27617, -1863, 1165, 1160, 1181, 1160, 1990, 2015, 2004, 2031, 2009, 2004, 1997, 1999, 2010, 2745, 509, 502, 492, 455, 497, 508, 1004, 1013, 1022, 965, 1012, 1019, 1015, 1023, 445, 416, 445, 421, 428, 1367, 1358, 1349, 1406, 1361, 1352, 1346, 2525, 2513, 2504, 2523, 2508, 2172, 2149, 2158, 2133, 2168, 2159, 2151, 2155, 2168, 2145, 2169, 1249, 1252, 1277, 1274, 1266, 1275, 795, 798, 772, 771, 2861, 2876, 2863, 2862, 2872, 1638, 1633, 1663, 2831, 2845, 1829, 1816, 1796, 1801, 1809, 1853, 1818, 1796, 1386, 1398, 1398, 1394, 1393, 1336, 1325, 1325, 1379, 1394, 1387, 1324, 1393, 1389, 1324, 1329, 1332, 1330, 1385, 1379, 1388, 1324, 1377, 1389, 1391, 1325, 1387, 1388, 1382, 1383, 1402, 1341, 1380, 1389, 1392, 1377, 1383, 1373, 1396, 1343, 1331, 1316, 1385, 1397, 1343, 1319, 1393, 1316, 1380, 1392, 1389, 1391, 1343, 1316, 1394, 1379, 1381, 1383, 1388, 1389, 1343, 1331, 1316, 1396, 1373, 1379, 1394, 1343, 1331, 1316, 1398, 1379, 1376, 1343, 1379, 1390, 1390, 2696, 2701, 2712, 2701, 1252, 1255, 1254, 1263, 1228, 
    1257, 1276, 1257, 3116, 3121, 3113, 3117, 2648, 2653, 2631, 2624, 442, 419, 424, 403, 421, 424, 2053, 2055, 2066, 2105, 2063, 2050, 928, 1589, 1598, 1551, 1593, 1588, 1670, 1695, 1684, 1711, 1694, 1681, 1693, 1685, 2232, 2213, 2232, 2208, 2217, 2200, 2228, 2232, 2408, 2417, 2426, 2369, 2414, 2423, 2429, 555, 551, 574, 557, 570, 1746, 1739, 1728, 1787, 1750, 1729, 1737, 1733, 1750, 1743, 1751, 1173, 1157, 1161, 1172, 1155};
    protected JSONObject h = null;

    public SP360() {
        int m24 = C0007.m24();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m24 >= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Float.parseFloat(C0007.m25("hOi")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:122:0x00d1, code lost:
    
        r5 = r4;
     */
    /* JADX WARN: Code restructure failed: missing block: B:123:0x004e, code lost:
    
        continue;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:11:0x0115. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:135:0x008c. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0056. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:77:0x022f. Please report as an issue. */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String categoryContent(java.lang.String r25, java.lang.String r26, boolean r27, java.util.HashMap<java.lang.String, java.lang.String> r28) {
        /*
            Method dump skipped, instructions count: 946
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.SP360.categoryContent(java.lang.String, java.lang.String, boolean, java.util.HashMap):java.lang.String");
    }

    /* JADX WARN: Code restructure failed: missing block: B:118:0x0573, code lost:
    
        r3 = r4;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:11:0x01ae. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:142:0x053e. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:153:0x0551. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:169:0x058f. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:16:0x0228. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:215:0x05eb. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:21:0x0284. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:226:0x0698. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:233:0x0875. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:237:0x0882. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:254:0x0895. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:26:0x030f. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:330:0x0766. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:354:0x079d. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:363:0x07e7. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:383:0x07f8. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:388:0x0808. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:399:0x08c0. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:468:0x062f. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:53:0x0465. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x013f. Please report as an issue. */
    /* JADX WARN: Removed duplicated region for block: B:240:0x08a6 A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:244:0x087e A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:373:0x0822 A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:377:0x081a A[SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String detailContent(java.util.List<java.lang.String> r32) {
        /*
            Method dump skipped, instructions count: 2822
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.SP360.detailContent(java.util.List):java.lang.String");
    }

    /* JADX WARN: Code restructure failed: missing block: B:36:0x0068, code lost:
    
        return r4;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected java.util.HashMap<java.lang.String, java.lang.String> h() {
        /*
            r6 = this;
            r1 = 0
            java.lang.String r0 = "ۥۢۧ"
            r2 = r1
            r3 = r1
            r4 = r1
        L6:
            int r0 = com.github.catvod.parser.C0006.m20(r0)
            switch(r0) {
                case 56482: goto L15;
                case 1746972: goto L68;
                case 1747901: goto L46;
                case 1748833: goto L4b;
                case 1750536: goto L1a;
                case 1750687: goto L40;
                case 1751560: goto L27;
                case 1752677: goto L63;
                case 1755492: goto L51;
                case 1755561: goto L34;
                case 1755588: goto L56;
                default: goto Ld;
            }
        Ld:
            java.util.HashMap r4 = new java.util.HashMap
            r4.<init>()
            java.lang.String r0 = "ۥۧ"
            goto L6
        L15:
            short[] r3 = com.github.catvod.spider.SP360.f48short
            java.lang.String r0 = "ۣ۟ۤ"
            goto L6
        L1a:
            r0 = 599(0x257, float:8.4E-43)
            r2 = 10
            r5 = 1267(0x4f3, float:1.775E-42)
            java.lang.String r2 = com.github.catvod.spider.C0018.m56(r3, r0, r2, r5)
            java.lang.String r0 = "ۥۦۦ"
            goto L6
        L27:
            r0 = 609(0x261, float:8.53E-43)
            r1 = 121(0x79, float:1.7E-43)
            r5 = 358(0x166, float:5.02E-43)
            java.lang.String r1 = com.github.catvod.parser.C0008.m27(r3, r0, r1, r5)
            java.lang.String r0 = "ۡۦۦ"
            goto L6
        L34:
            r0 = 730(0x2da, float:1.023E-42)
            r2 = 7
            r5 = 2901(0xb55, float:4.065E-42)
            java.lang.String r2 = com.github.catvod.spider.merge.C0013.m41(r3, r0, r2, r5)
            java.lang.String r0 = "ۨۤ۠"
            goto L6
        L40:
            r4.put(r2, r1)
            java.lang.String r0 = "۟ۨۥ"
            goto L6
        L46:
            short[] r3 = com.github.catvod.spider.SP360.f48short
            java.lang.String r0 = "ۨۦۧ"
            goto L6
        L4b:
            r4.put(r2, r1)
            java.lang.String r0 = "۠ۧۤ"
            goto L6
        L51:
            short[] r3 = com.github.catvod.spider.SP360.f48short
            java.lang.String r0 = "ۣۨۧ"
            goto L6
        L56:
            r0 = 737(0x2e1, float:1.033E-42)
            r1 = 23
            r5 = 1655(0x677, float:2.319E-42)
            java.lang.String r1 = com.github.catvod.parser.C0004.m12(r3, r0, r1, r5)
            java.lang.String r0 = "ۣۤ۠"
            goto L6
        L63:
            short[] r3 = com.github.catvod.spider.SP360.f48short
            java.lang.String r0 = "ۤۡۥ"
            goto L6
        L68:
            return r4
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.SP360.h():java.util.HashMap");
    }

    public String homeContent(boolean z) {
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put(C0005.m17(f48short, 760, 5, 2881), this.h.getJSONArray(C0004.m12(f48short, 765, 7, 363)));
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                        break;
                    case 49:
                        if (!z) {
                            break;
                        } else {
                            i = 1709;
                        }
                    case 204:
                        jSONObject.put(C0018.m56(f48short, 772, 7, 716), this.h.getJSONObject(C0004.m12(f48short, 779, 6, 1672)));
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    i2 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        break;
                    case 239:
                        break;
                    default:
                        continue;
                }
                i = 1678;
            }
        } catch (JSONException e) {
            SpiderDebug.log(e);
        }
        return jSONObject.toString();
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x005a. Please report as an issue. */
    public String homeVideoContent() {
        JSONArray optJSONArray;
        JSONArray jSONArray;
        int i;
        JSONObject jSONObject = new JSONObject();
        try {
            String m3 = C0001.m3(f48short, 785, 40, 3251);
            String oq = fP.oq(m3, new HashMap());
            SpiderDebug.log(C0013.m41(f48short, 825, 5, 1955) + m3);
            optJSONArray = new JSONObject(oq).optJSONArray(C0007.m26(f48short, 830, 4, 1257));
            jSONArray = new JSONArray();
            i = 0;
        } catch (Exception e) {
            SpiderDebug.log(e);
        }
        while (true) {
            int length = optJSONArray.length();
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i < length ? 1709 : 1678;
                    case 204:
                        JSONObject jSONObject2 = optJSONArray.getJSONObject(i);
                        JSONObject jSONObject3 = new JSONObject();
                        jSONObject3.put(C0009.m30(f48short, 834, 6, 1968), jSONObject2.optString(C0017.m52(f48short, 840, 3, 1966)) + C0013.m41(f48short, 843, 1, 2790) + jSONObject2.optString(C0003.m9(f48short, 844, 6, 408)));
                        jSONObject3.put(C0001.m3(f48short, 850, 8, 922), jSONObject2.optString(C0008.m27(f48short, 858, 5, 457)));
                        jSONObject3.put(C0004.m12(f48short, 863, 7, 1313), jSONObject2.optString(C0012.m37(f48short, 870, 5, 2494)));
                        jSONObject3.put(C0008.m27(f48short, 875, 11, 2058), jSONObject2.optString(C0008.m27(f48short, 886, 6, 1172)));
                        jSONArray.put(jSONObject3);
                        int i3 = i + 1;
                        int i4 = 1740;
                        while (true) {
                            i4 ^= 1757;
                            switch (i4) {
                                case 17:
                                    i4 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        i = i3;
                        break;
                    case 239:
                        break;
                }
                jSONObject.put(C0017.m52(f48short, 892, 4, 887), jSONArray);
                int i5 = 1864;
                while (true) {
                    i5 ^= 1881;
                    switch (i5) {
                        case 17:
                            i5 = 48674;
                            break;
                        case 47483:
                            break;
                    }
                }
            }
            return jSONObject.toString();
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:8:?, code lost:
    
        return;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void init(android.content.Context r3) {
        /*
            r2 = this;
            super.init(r3)
            org.json.JSONObject r0 = new org.json.JSONObject     // Catch: org.json.JSONException -> L18
            java.lang.String r1 = "{\"classes\":[{\"type_name\":\"电影\",\"type_id\":\"1\"},{\"type_name\":\"电视剧\",\"type_id\":\"2\"},{\"type_name\":\"综艺\",\"type_id\":\"3\"},{\"type_name\":\"动漫\",\"type_id\":\"4\"}],\"filter\":{\"1\":[{\"key\":\"cat\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"动画\",\"v\":\"动画\"},{\"n\":\"文艺\",\"v\":\"文艺\"},{\"n\":\"纪录\",\"v\":\"纪录\"},{\"n\":\"传记\",\"v\":\"传记\"},{\"n\":\"歌舞\",\"v\":\"歌舞\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"伦理\",\"v\":\"伦理\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年代\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"更早\",\"v\":\"lt_year\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"大陆\"},{\"n\":\"中国香港\",\"v\":\"香港\"},{\"n\":\"中国台湾\",\"v\":\"台湾\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"法国\",\"v\":\"法国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"德国\",\"v\":\"德国\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"rank\",\"name\":\"排序\",\"value\":[{\"n\":\"最近热映\",\"v\":\"rankhot\"},{\"n\":\"最近上映\",\"v\":\"ranklatest\"},{\"n\":\"最受好评\",\"v\":\"rankpoint\"}]}],\"2\":[{\"key\":\"cat\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"言情\",\"v\":\"言情\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"伦理\",\"v\":\"伦理\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"都市\",\"v\":\"都市\"},{\"n\":\"偶像\",\"v\":\"偶像\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"军事\",\"v\":\"军事\"},{\"n\":\"警匪\",\"v\":\"警匪\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"励志\",\"v\":\"励志\"},{\"n\":\"神话\",\"v\":\"神话\"},{\"n\":\"谍战\",\"v\":\"谍战\"},{\"n\":\"青春\",\"v\":\"青春剧\"},{\"n\":\"家庭\",\"v\":\"家庭剧\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"情景\",\"v\":\"情景\"},{\"n\":\"武侠\",\"v\":\"武侠\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"其他\",\"v\":\"其他\"},{\"n\":\"全部\",\"v\":\"\"}]},{\"key\":\"year\",\"name\":\"年代\",\"value\":[{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"更早\",\"v\":\"lt_year\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"中国香港\",\"v\":\"香港\"},{\"n\":\"中国台湾\",\"v\":\"台湾\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"新加坡\",\"v\":\"新加坡\"}]},{\"key\":\"rank\",\"name\":\"排序\",\"value\":[{\"n\":\"最近热映\",\"v\":\"rankhot\"},{\"n\":\"最近上映\",\"v\":\"ranklatest\"},{\"n\":\"最受好评\",\"v\":\"rankpoint\"}]}],\"3\":[{\"key\":\"cat\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"脱口秀\",\"v\":\"脱口秀\"},{\"n\":\"真人秀\",\"v\":\"真人秀\"},{\"n\":\"搞笑\",\"v\":\"搞笑\"},{\"n\":\"选秀\",\"v\":\"选秀\"},{\"n\":\"八卦\",\"v\":\"八卦\"},{\"n\":\"访谈\",\"v\":\"访谈\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"生活\",\"v\":\"生活\"},{\"n\":\"晚会\",\"v\":\"晚会\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"职场\",\"v\":\"职场\"},{\"n\":\"美食\",\"v\":\"美食\"},{\"n\":\"时尚\",\"v\":\"时尚\"},{\"n\":\"游戏\",\"v\":\"游戏\"},{\"n\":\"少儿\",\"v\":\"少儿\"},{\"n\":\"体育\",\"v\":\"体育\"},{\"n\":\"纪实\",\"v\":\"纪实\"},{\"n\":\"科教\",\"v\":\"科教\"},{\"n\":\"曲艺\",\"v\":\"曲艺\"},{\"n\":\"歌舞\",\"v\":\"歌舞\"},{\"n\":\"财经\",\"v\":\"财经\"},{\"n\":\"汽车\",\"v\":\"汽车\"},{\"n\":\"播报\",\"v\":\"播报\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"大陆\"},{\"n\":\"中国香港\",\"v\":\"香港\"},{\"n\":\"中国台湾\",\"v\":\"台湾\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"欧美\",\"v\":\"欧美\"}]},{\"key\":\"rank\",\"name\":\"排序\",\"value\":[{\"n\":\"最近热映\",\"v\":\"rankhot\"},{\"n\":\"最近上映\",\"v\":\"ranklatest\"}]}],\"4\":[{\"key\":\"cat\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"热血\",\"v\":\"热血\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"美少女\",\"v\":\"美少女\"},{\"n\":\"魔幻\",\"v\":\"魔幻\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"励志\",\"v\":\"励志\"},{\"n\":\"少儿\",\"v\":\"少儿\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"搞笑\",\"v\":\"搞笑\"},{\"n\":\"推理\",\"v\":\"推理\"},{\"n\":\"恋爱\",\"v\":\"恋爱\"},{\"n\":\"治愈\",\"v\":\"治愈\"},{\"n\":\"幻想\",\"v\":\"幻想\"},{\"n\":\"校园\",\"v\":\"校园\"},{\"n\":\"动物\",\"v\":\"动物\"},{\"n\":\"机战\",\"v\":\"机战\"},{\"n\":\"亲子\",\"v\":\"亲子\"},{\"n\":\"儿歌\",\"v\":\"儿歌\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"怪物\",\"v\":\"怪物\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"益智\",\"v\":\"益智\"},{\"n\":\"青春\",\"v\":\"青春\"},{\"n\":\"童话\",\"v\":\"童话\"},{\"n\":\"竞技\",\"v\":\"竞技\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"社会\",\"v\":\"社会\"},{\"n\":\"友情\",\"v\":\"友情\"},{\"n\":\"真人版\",\"v\":\"真人版\"},{\"n\":\"电影版\",\"v\":\"电影版\"},{\"n\":\"OVA版\",\"v\":\"OVA版\"},{\"n\":\"TV版\",\"v\":\"TV版\"},{\"n\":\"新番动画\",\"v\":\"新番动画\"},{\"n\":\"完结动画\",\"v\":\"完结动画\"}]},{\"key\":\"year\",\"name\":\"年代\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"更早\",\"v\":\"更早\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"大陆\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"美国\",\"v\":\"美国\"}]},{\"key\":\"rank\",\"name\":\"排序\",\"value\":[{\"n\":\"最近热映\",\"v\":\"rankhot\"},{\"n\":\"最近上映\",\"v\":\"ranklatest\"}]}]}}"
            r0.<init>(r1)     // Catch: org.json.JSONException -> L18
            r2.h = r0     // Catch: org.json.JSONException -> L18
            r0 = 1616(0x650, float:2.264E-42)
        Le:
            r0 = r0 ^ 1633(0x661, float:2.288E-42)
            switch(r0) {
                case 14: goto L14;
                case 49: goto L15;
                default: goto L13;
            }
        L13:
            goto Le
        L14:
            return
        L15:
            r0 = 1647(0x66f, float:2.308E-42)
            goto Le
        L18:
            r0 = move-exception
            com.github.catvod.crawler.SpiderDebug.log(r0)
            goto L14
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.SP360.init(android.content.Context):void");
    }

    public String playerContent(String str, String str2, List<String> list) {
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put(C0004.m12(f48short, 896, 5, 2909), 1);
            jSONObject.put(C0011.m35(f48short, 901, 3, 1555), str2);
            jSONObject.put(C0013.m41(f48short, 904, 2, 2917), C0011.m35(f48short, 906, 1, 1812));
            jSONObject.put(C0000.m1(f48short, 907, 7, 1896), "");
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                        break;
                    case 49:
                        i = 1647;
                        break;
                }
            }
        } catch (Exception e) {
            SpiderDebug.log(e);
        }
        return jSONObject.toString();
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:34:0x0093. Please report as an issue. */
    public String searchContent(String str, boolean z) {
        JSONObject jSONObject = new JSONObject();
        try {
            JSONObject optJSONObject = new JSONObject(fP.oq(String.format(C0013.m41(f48short, 914, 77, 1282), str), h())).optJSONObject(C0013.m41(f48short, 991, 4, 2796));
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                        break;
                    case 49:
                        if (optJSONObject == null) {
                            break;
                        } else {
                            i = 1709;
                        }
                    case 204:
                        JSONObject optJSONObject2 = optJSONObject.optJSONObject(C0004.m12(f48short, 995, 8, 1160));
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    if (optJSONObject2 == null) {
                                        break;
                                    } else {
                                        i2 = 1833;
                                    }
                                case 54:
                                    break;
                                case 471:
                                    break;
                                case 500:
                                    JSONArray jSONArray = optJSONObject2.getJSONArray(C0015.m47(f48short, 1003, 4, 3166));
                                    JSONArray jSONArray2 = new JSONArray();
                                    jSONObject.put(C0011.m35(f48short, 1007, 4, 2612), jSONArray2);
                                    int i3 = 0;
                                    while (true) {
                                        int length = jSONArray.length();
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = i3 < length ? 48736 : 48705;
                                                case 47384:
                                                    break;
                                                case 47417:
                                                    JSONObject jSONObject2 = jSONArray.getJSONObject(i3);
                                                    JSONObject jSONObject3 = new JSONObject();
                                                    jSONObject3.put(C0017.m52(f48short, 1011, 6, 460), jSONObject2.optString(C0005.m17(f48short, 1017, 6, 2150)) + C0018.m56(f48short, 1023, 1, 1023) + jSONObject2.optString(C0011.m35(f48short, 1024, 5, 1616)));
                                                    jSONObject3.put(C0014.m43(f48short, 1029, 8, 1776), jSONObject2.optString(C0009.m30(f48short, 1037, 8, 2252)));
                                                    jSONObject3.put(C0005.m17(f48short, 1045, 7, 2334), jSONObject2.optString(C0018.m56(f48short, 1052, 5, 584)));
                                                    jSONObject3.put(C0008.m27(f48short, 1057, 11, 1700), jSONObject2.optString(C0001.m3(f48short, 1068, 5, 1254)));
                                                    jSONArray2.put(jSONObject3);
                                                    i3++;
                                                    int i5 = 48767;
                                                    while (true) {
                                                        i5 ^= 48784;
                                                        switch (i5) {
                                                            case 14:
                                                                break;
                                                            case 239:
                                                                i5 = 48798;
                                                                break;
                                                        }
                                                    }
                                                    break;
                                                case 47483:
                                            }
                                        }
                                    }
                                    break;
                                default:
                                    continue;
                            }
                            i2 = 1802;
                        }
                        break;
                    case 239:
                        break;
                    default:
                        continue;
                }
                i = 1678;
            }
        } catch (Exception e) {
            SpiderDebug.log(e);
        }
        return jSONObject.toString();
    }
}
